<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php
		require("php/akses.php");
	?>
	<link rel="stylesheet" type="text/css" href="css/style.css" />
	<script type="text/javascript" src="javascript/foodholic.js"></script>
	<script type="text/javascript" src="javascript/like.js"></script>
	<title>Home</title>
</head>

<body>
	<h2>
		<?php
			echo "HAHA";
			connect();
		?>
	</h2>
	<div id="wrapper">
		
		<div id="header">
			<div class="logo">
				<a href="index.php"><img src="images/logo.png" alt="" /></a>
			</div>
			
			<div id="tabs">
				<div class="tab-home"><a href="index.php"><img src="images/home.png" alt="" /></a>
					<br />HOME
				</div>
				<div class="tab-recipe"><img src="images/recipe-icon.png" alt="" />
					<br />RECIPE
				</div>
				<div class="tab-place"><img src="images/place-icon.png" alt="" />
					<br />PLACE
				</div>
				<div class="tab-tips"><img src="images/tips-icon.png" alt="" />
					<br />TIPS & TRICKS
				</div>
				<div class="tab-profile"><img src="images/profile-icon2.png" alt="" />
					<br />PROFILE
				</div>
			</div>
			
			<div id="login" style="font-size:12px">
				<div id="UserName_home">
					User Name
				</div>
				<div id="text_UserName_home">
					<input type="text" name="text_UserName_home" size="15" />
				</div>
				<div id="Password_home">
					Password
				</div>
				<div id="text_Password_home">
					<input type="text" name="text_Password_home" size="15"/>
				</div>
				<div>
					<div id="sign_in"><img src="images/signin.png" alt="" />
					</div>
					<div id="sign_up">
						<a href="registrasi.php">Sign up now!</a>
					</div>
				</div>
			</div>
			
			
			<div id="title"><img src="images/banner OK.png" name="banner" alt="" />
				<div id="join">It's Free!<a href="registrasi.php"><img onload="writeToDoc("src="images/join.png" name="join"")"></a>
				</div>
			</div>
			
			<div class="clear"></div>
		</div>
		
		<div id="content">
			<div id="bestpost">
				THE MOST LIKED POSTS OF THE MONTH
				</div>
			<div id="preview">
				
				<div id="poster">
				<script type="text/javascript">
       					 document.write(""+'<iframe src="http://www.youtube.com/embed/wezZVZXFO3U" frameborder="0"></iframe>')
				</script>
				
					
				</div>
				
				<div id="desc" style="font-size:16px">
					<br /><strong><a href="http://www.youtube.com/watch?feature=player_embedded%26v=wezZVZXFO3U">Easy Cheesecake Recipe</a></strong>
						<br /><br />
						<div class="LikeContent_Home" style="font-size:16px">
							<a onmouseover="" style="cursor: pointer;" onclick="return likeThis('like1');" id="staty">
								<img src="images/like.png" alt="post" name="gambarLike"/>
							</a>
							<a onmouseover="" style="cursor: pointer;" onclick="return dislikeThis('like1');">
								<img src="images/dislike.png" alt="post"/>
							</a>
							People like this
							<div class="likeCount_Home">
								<a id="like1">
									<script type="text/javascript">document.write(""+randomXToY(10000,50000));</script>	 	
								</a>
							</div>
							<div>
								<a id="statlike1"> </a>						
							</div>
						</div>
				</div>
				<div id="bullet1" onclick="changePicture('images/poster', 'images/NoPict.png');">1
				</div>
				<div id="bullet2" onclick="changePicture('images/poster', 'images/cheesecake.jpg');">2
				</div>
				<div id="bullet3" onclick="changeVideo('images/poster', 'http://www.youtube.com/watch?v=wezZVZXFO3U');">3
				</div>
			</div>
			
			
			<div id="ad"><img src="images/adv.jpeg" alt="" />
				Advertising
			</div>
			
			<div id="categories">
				<div class="category"><a href="post.php"><img src="images/post.png" alt="" /></a><br />POST</div>
				<div class="category"><a href="daftarkonten.php"><img src="images/contents.png" alt="" /></a><br />CONTENTS</div>
				<div class="category"><img src="images/news.png" alt="" /><br />NEWS</div>
				<div class="category"><img src="images/discussion.png" alt="" /><br />DISCUSSION</div>
			</div>
			
			
			<div id="search">
				Search :
				<div>
					<div id="text_Search_home">
						<input type="text" name="text_Search_home" size="35" />
					</div>
					<div id="search_button"><img src="images/search.png" alt="" />
					</div>
				</div>
			</div>
			
			<div id="toptens">
				<div class="topten"><br />TOP 10 RECIPES
					<ul align="left" style="font-size:13px; color:#aeadac">
						<li>1-Dish Taco Bake</li>
						<li>Chicken and Dumplings</li>
						<li>Salmon - Potato Cakes</li>
						<li>Macho Nachos</li>
						<li>Sloppy Joe Casserole</li>
						<li>Fettuccine Alfredo</li>
						<li>Pepper-Beef Stir-Fry</li>
						<li>Eight-Layer Casserole</li>
						<li>Cheesy Chicken Casserole</li>
						<li>Chocolate Bonbon Pops</li>
					</ul>
				</div>
					
				<div class="topten"><br />TOP 10 PLACES
					<ul align="left" style="font-size:13px; color:#aeadac">
						<li>Tablelicious</li>
						<li>Maja House</li>
						<li>Sushi Tei</li>
						<li>Vanilla</li>
						<li>Hummingbird</li>
						<li>Kampung Daun</li>
						<li>Giggle Box</li>
						<li>The Valley</li>
						<li>Bakerzin</li>
						<li>Cafe Bali</li>
					</ul>
				</div>
				<div class="topten"><br />TOP 10 VIDEO
					<ul align="left" style="font-size:13px; color:#aeadac">
						<li>How To Make Cheesecake</li>
						<li>Best Recipe for Pad Thai Ever</li>
						<li>Healthy Foods and Recipes</li>
						<li>Fast Food Sushi - Epic Meal Time</li>
						<li>Pancakes - recipe</li>
						<li>Tiramisu - original Italian recipe</li>
						<li>How to Cook Delicious Italian Food</li>
						<li>How To Eat Sushi At a Restaurant</li>
						<li>Grilled Salmon With Lemon Pepper</li>
						<li>Food Factor - Fruits and Health</li>
					</ul>
				</div>
			</div>
		</div>
		
		<div id="footer">
			
			<div id="footertabs">
				<div id="social">
					<div id="fb"><a href="http://www.facebook.com/"><img src="images/fb.png" alt="" /></a>
					</div>
					<div id="twitter"><a href="http://www.twitter.com/"><img src="images/t.png" alt="" /></a>
					</div>
					<div id="YM"><a href="http://www.yahoo.com/"><img src="images/ym.png" alt="" /></a>
					</div>
				
			</div>
			<br />
				<div class="footertab">FAQ</div>
				<div class="footertab">CONTACTS</div>
				<div class="footertab">MEMBERS</div>
				<div class="footertab">ABOUT</div>
				<div class="footertab"><a href="index.php" style="color:white">HOME</a></div>
			
			<br /><br /><br />
				<div style="font-size:10px">© Copyright 2012, AmeliaN-OkirizaW-ChristabellaCB. All Rights Reserved | Privacy Policy | By using this site, you agree to our Terms of Service.</div>
			</div>
		</div>
	</div>
</body>
</html>